package com.biqee.action.sample;

import java.util.HashMap;
import java.util.Map;

import com.biqee.action.base.BaseAction;
import com.biqee.service.sample.SampleService;

public class SampleAction extends BaseAction {

	private static final long serialVersionUID = 7512703825959302271L;

	private SampleService sampleService;

	public void setSampleService(SampleService sampleService) {
		this.sampleService = sampleService;
	}

	private Map<String, String> model = new HashMap<String, String>();
	
	public Object getModel() {
		return model;
	}
	
	public String home() {
		String testResult = sampleService.test();
		model.put("key", testResult);
		return "home"; 
	}
	
}
